length of last word solution